SetCellBorderBottom
Sets the border which shall be displayed at the bottom of the current table cell.
Syntax
expression.SetCellBorderBottom(fSize, oApiFill);
expression
- A variable that represents a ApiTableCell class.
Parameters
Name | Required/Optional | Data type | Default | Description |
---|---|---|---|---|
fSize | Required | mm | The width of the current border. | |
oApiFill | Required | ApiFill | The color or pattern used to fill the current border. |
Returns
This method doesn't return any data.
Example
This example sets the border which shall be displayed at the bottom of the table cell.
var oPresentation = Api.GetPresentation();
var oTable = Api.CreateTable(2, 4);
var oRow = oTable.GetRow(0);
var oCell = oRow.GetCell(0);
var oFill = Api.CreateSolidFill(Api.CreateRGBColor(51, 51, 51));
oCell.SetCellBorderBottom(2, oFill);
var oSlide = oPresentation.GetSlideByIndex(0);
oSlide.RemoveAllObjects();
oSlide.AddObject(oTable);